const net/http.maxPostHandlerReadBytes
6 uses
net/http (current package)
server.go#L1096: const maxPostHandlerReadBytes = 256 << 10
server.go#L1359: case bdy.unreadDataSizeLocked() >= maxPostHandlerReadBytes:
server.go#L1370: _, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
transfer.go#L988: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > maxPostHandlerReadBytes {
transfer.go#L996: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes)
transfer.go#L1000: if n == maxPostHandlerReadBytes {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)